package com.fatcat.easybuy.service.impl;


import com.fatcat.easybuy.mapper.UserRoleMapper;
import com.fatcat.easybuy.pojo.UserRole;
import com.fatcat.easybuy.service.UserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @author Fatcat
 * @description 针对表【userRole】的数据库操作Service实现
 * @createDate 2025-09-12 15:32:32
 */
@Service
public class UserRoleServiceImpl implements UserRoleService {
    @Autowired
    private UserRoleMapper userRoleMapper;

    @Override
    public List<UserRole> getAllUSerRole() {
        return userRoleMapper.selectAllUserRole();
    }
}




